<!DOCTYPE html>
<html lang="en" ng-app="app" ng-controller="fontInit">
<head>
	<meta charset="UTF-8" />
	<meta name="viewport" content="width=device-width, initial-scale=1.0" />
	<meta name="keywords" content="CrapApi,api,crap,接口管理,应用接口管理,开源接口管理,开源api接口管理" />
	<meta name="description" content="CrapApi|一个由anjularjs+bootstrap+springMVC搭建的免费开源的API接口管理系统（应用接口管理系统），api.crap.cn" />
	<link href="{{settings.ICON}}" rel="shortcut icon" type="image/x-icon" />
	<link href="{{settings.ICON}}" rel="icon" type="image/x-icon" />
	<link href="{{settings.ICON}}" rel="shortcut" type="image/x-icon" />
	<link href="resources/framework/bootstrap-3.0.0/css/bootstrap.min.css" rel="stylesheet" type="text/css" />
	<link href="resources/framework/bootstrap-3.0.0/css/bootstrap-datetimepicker.min.css" rel="stylesheet" type="text/css" />
	<!-- base-min.css,admin.css应该发在bootstrap之后,覆盖部分bootstrap样式 -->
	<link href="resources/css/allCss.css?v=V8.2.0_0630" rel="stylesheet" type="text/css"/>
	<title ng-bind="settings.TITLE">CrapApi|接口管理系统</title>
</head>
<body class="s-bg-color">
	<!-- Top Nav -->
	<div ng-include="'resources/html/subTpl/visitorTopNav.tpl.html?v=V8.2.0_0630'"></div>
	<!-- Top Nav End -->
	<!-- Top Search-->
	<div ng-include="'resources/html/subTpl/topSearch.tpl.html?v=V8.2.0_0630'"></div>
	<!-- Top Search End-->
	
	<div class="container p0 mt20">
		<div class="row min-h p0 m0">
		
			<!-- leftMenu -->
			<div class="col-xs-3 p0 m0" ng-controller="visitorModuleMenuCtrl">
				<div class="r2 BGFFF p20 C555 mr15">
					<table>
						<tr>
							<td class="w50">
								<img class="w50 h50 r50P" ng-src="{{project.cover}}"/>
							</td>
							<td class="pl10">
								<a class="C000 f16 mt2" ng-href="#/module/list?projectId={{project.id}}" ng-bind="project.name"></a>
							</td>
						</tr>
					</table>
					<div class="f12 C999 lh20 mt10" ng-bind="project.remark"></div>
				</div>

				<div class="r2 BGFFF p10 C555 mr15 mt10">
					<div class="adorn-bl-3 pl10">
						<a class="C555 cursor" ng-href="#/module/list?projectId={{project.id}}">全部模块</a>
					</div>
				</div>

				<div class="r2 BGFFF p10 C555 mr15 mt10">
					<div class="adorn-bl-3 pl10">
						<a class="C555 cursor" ng-href="#/error/list?projectId={{project.id}}">状态码</a>
					</div>
				</div>

				<div class="mb0 r2 f14 mr15 mt10 BGFFF pt10 pb20" id="accordion" role="tablist">
					<div ng-if="projectMenu.length==0" class="no-radius b0 mt0 C999">
						<i class="iconfont mt-5 ml10">&#xe69c;</i> &nbsp; 该项目下没有模块
					</div>
					<div class="no-radius b0 mt0" ng-repeat="item in projectMenu">
						<div class="no-radius p10" data-parent="#accordion">
							<div class="a cursor adorn-bl-3 pl10 no_unl " data-toggle="collapse" data-parent="#accordion" href="#panel{{item.id}}">
								<span class="hidden-xs" ng-bind="item.name"></span>
							</div>
						</div>
						<div id="panel{{item.id}}" class="panel-collapse BGFFF collapse"
							ng-class="{true: 'panel-collapse BGFFF collapse in', false: 'panel-collapse BGFFF collapse'}[$index == 0]">
							<div class="panel-body b0 p0">
								<a class="p5 pl30 hover-adorn" onclick="selectButton(this,'hover-adorn', 'active-adorn')" ng-href="#/interface/list?projectId={{item.projectId}}&moduleId={{item.id}}">API接口</a>
								<a class="p5 pl30 hover-adorn" onclick="selectButton(this,'hover-adorn', 'active-adorn')" ng-href="#/article/list?projectId={{item.projectId}}&moduleId={{item.id}}&type=DICTIONARY">数据库表</a>
								<a class="p5 pl30 hover-adorn" onclick="selectButton(this,'hover-adorn', 'active-adorn')" ng-href="#/article/list?projectId={{item.projectId}}&moduleId={{item.id}}&type=ARTICLE">文档</a>
								<a class="p5 pl30 hover-adorn" onclick="selectButton(this,'hover-adorn', 'active-adorn')" ng-href="#/source/list?projectId={{item.projectId}}&moduleId={{item.id}}">文件</a>
							</div>
						</div>
					</div>
				</div>
			</div>
			<!-- End:leftMenu -->
			
			<!-- main view -->
			<div class="col-xs-9 p0 s-bg-color m0 pt0">
				<div class="col-xs-12 f16 fb p20 pt10 pb0 mb5 BGFFF"
					ng-if="error">
					<button type="button" class="btn btn-danger btn-xs break-word"
                            onclick="propUpPasswordDiv(this)" ng-bind="error"></button>
				</div>
				<div ui-view="main" class="BGFFF min-h500"></div>
			</div>
			<!-- End:main view -->
		</div>
	</div>
	<!-- footer -->
	<div ng-include="'resources/html/subTpl/footer.tpl.html?v=V8.2.0_0630'"></div>
	<!-- End:footer -->
	<div class="ndis">
			<script type="text/javascript">
				var cnzz_protocol = (("https:" == document.location.protocol) ? " https://"
						: " http://");
				document
						.write(unescape("%3Cspan id='cnzz_stat_icon_1258389938'%3E%3C/span%3E%3Cscript src='"
								+ cnzz_protocol
								+ "s95.cnzz.com/z_stat.php%3Fid%3D1258389938' type='text/javascript'%3E%3C/script%3E"));
			</script>
		</div>
	<script src="resources/framework/jquery-1.9.1.min.js"></script>
	<script src="resources/framework/jquery.cookie.js"></script>
	<script src="resources/framework/jquery.base64.js"></script>

	<script src="resources/framework/angular-1.3.0.14/angular.min.js"></script>
	<script src="resources/framework/angular-1.3.0.14/angular-animate.min.js"></script>
	<script src="resources/framework/angular-ui-router-0.2.15.js"></script>

	<script src="resources/framework/bootstrap-3.0.0/js/bootstrap.min.js"></script>
	<script src="resources/framework/bootstrap-3.0.0/js/bootstrap-datetimepicker.min.js"></script>
	<script src="resources/framework/bootstrap-3.0.0/js/bootstrap-datetimepicker.zh-CN.js"></script>

	<script src="resources/js/allJs.js?v=V8.2.0_0630"></script>
</body>
</html>
